package com.board.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李杰
 * @since 2024年04月03日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("canteen_info")
public class CanteenInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "canteen_id", type = IdType.AUTO)
    private Integer canteenId;

    /**
     * 食堂名字
     */
    @TableField("canteen_name")
    private String canteenName;

    /**
     * 食堂地点
     */
    @TableField("canteen_address")
    private String canteenAddress;

    /**
     * 食堂状态
     */
    @TableField("canteen_state")
    private Integer canteenState;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 创建人id
     */
    @TableField("create_id")
    private Integer createId;

    /**
     * 备注
     */
    @TableField("canteen_remarks")
    private String canteenRemarks;

    /**
     * 区域
     */
    @TableField("canteen_area")
    private String canteenArea;


}
